<?php
declare (strict_types=1);

namespace app\exam\event\subscribes;

use app\exam\event\listeners\ClearQuestionTopic;
use think\Event;

/**
 * Class QuestionTopic
 *
 * @package app\exam\event\subscribes
 */
class QuestionTopic
{
    public function subscribe(Event $event)
    {
        // 编辑了试题
        $event->listen('EditQuestionTopic', ClearQuestionTopic::class);
    }
}